package com.todod.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.dev33.satoken.sso.SaSsoHandle;

/**
 * Sa-Token-SSO Client端 Controller
 */
@RestController
public class SsoClientController {
    /*
     * SSO-Client端：处理所有SSO相关请求
     */
    @RequestMapping("/sso/*")
    public Object ssoRequest() {
        return SaSsoHandle.clientRequest();
    }

}
